<style type="text/css">
    .panel-info{
        transition: all .6s;
        opacity: 0;
    }
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[subject_id]" value="{$subject_id}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('科目名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subject_name" value="{$info['short_name']}" data-rule="required" class="form-control" name="row[subject_name]" type="text" readonly>
        </div>
    </div>

    <div class="form-group">
        <label for="category" class="control-label col-sm-2 col-xs-12">{:__('套餐分类')}</label>
        <div class="col-xs-12 col-sm-8">
            <select id="category" class="form-control selectpicker" data-rule="required" name="row[combo_cat]">
                <option>请选择套餐分类</option>
                {volist name="comboCategory" id="item"}
                <option value="{$item.category_id}" data-val="{$subject_id}">{$item.category_name}</option>
                {/volist}
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('套餐')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="checkbox combo-list"></div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('关联')}:</label>
        <div class="col-xs-12 col-sm-8 paper-list"></div>
    </div>

    <!--<div class="form-group">
        <label for="remark" class="control-label col-xs-12 col-sm-2">{:__("备注")}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" name="row[remark]" value="" placeholder="填写备注" id="remark">
        </div>
    </div>-->

    <div class="form-group">
        <label for="sort" class="control-label col-xs-12 col-sm-2">{:__("sort")}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" name="row[sort]" value="0" placeholder="填写排序" id="sort">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
